<!DOCTYPE HTML>   
<html>
<head>
<meta charset="utf-8">
<title>Get Content</title>
</head>

<body>

<cfset paramid = form.argid />

<cfset myArr = ArrayNew(1)>

<cfset myArr = ListToArray( paramid , "~", "true") />

<cfset foldercode = Trim(myArr[1])>
<cfset collabcode   = Trim(myArr[2])>
<cfset theaction  = Trim(myArr[3])>



   <cfquery name="getContent" datasource="#client.company_dsn#" maxrows="1">

        SELECT CONTENT
          FROM ECRGCOLLABTHREAD
         WHERE FOLDERCODE = '#foldercode#'
           AND COLLABCODE = '#collabcode#';
    
    </cfquery>
    
 <cfoutput>~trimstartshere2~</cfoutput>
 
 <cfloop query = "getContent">
 
 	<cfoutput>#CONTENT#</cfoutput>
 
 </cfloop>
 
 
 <cfoutput>~trimendshere2~</cfoutput>
 
 
 
 

</body>
</html>
